#ifndef __VIPC_SHM_H
#define __VIPC_SHM_H

#include "vglobal.h"

#ifdef __cplusplus
extern "C" {
#endif


V_DECLEAR_HANDLE(vShm);

vShm vShmCreate(const char *name, int size);
void vShmDelete(vShm vs);


int vShmWrite(vShm vs,void *buf,size_t len);
int vShmRead(vShm vs,void *buf,size_t len);


#ifdef __cplusplus
}
#endif

#endif
